import Vue from 'vue'
import App from './App'
import store from './store'
import config from 'common/config.js'
import wxJsdk from 'common/wxJsdk.js'
import login from 'common/login'
import uView from "uview-ui"

Vue.use(uView)
console.log('wxJsdk:')
console.log(wxJsdk)
console.log(wxJsdk.initWxJsdk)
Vue.config.productionTip = false
Vue.prototype.CONFIG = config
Vue.prototype.LOGINACTION = login.loginAction
Vue.prototype.INITWXJSDK = wxJsdk.initWxJsdk
App.mpType = 'app'

const app = new Vue({
	store,
    ...App
})
app.$mount()
